package io.renren.wh.merchant.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@TableName("merchant_rate")
public class RateEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Integer id;
	/**
	 * 商户id
	 */
	private Integer merchantid;
	/**
	 * 商户名称
	 */
	private String merchantname;
	/**
	 * 接口id
	 */
	private Integer interfaceid;
	/**
	 * 接口标识
	 */
	private Integer interfacecode;
	/**
	 * 结算方式
	 */
	private Integer clearing;
	/**
	 * 费率
	 */
	private BigDecimal rate;
	/**
	 * 四方收益
	 */
	private BigDecimal income;
	/**
	 * 可配置通道
	 */
	private Integer configchannel;
	/**
	 * 已配置通道
	 */
	private Integer confighaschannel;
	/**
	 * 昨日交易
	 */
	private BigDecimal yesterdayaccount;
	/**
	 * 今日交易
	 */
	private BigDecimal todayaccount;
	/**
	 * 交易费用
	 */
	private BigDecimal buycost;
	/**
	 * 已提现金额
	 */
	private BigDecimal withdrawnamount;
	/**
	 * 可提现金额
	 */
	private BigDecimal withdrawableamount;

	/**
	 * 选中状态
	 */
	@TableField(exist =false )
	private Integer check;

}
